<template>
  <div>
    <el-card>
      <div class="DataDownload">
        <h2>ES数据下载</h2>
        <!-- 监测体 -->
        <el-row :gutter="10">
          <el-col :span="2">
            <span>监测体</span>
          </el-col>
          <el-col :span="6">
            <el-select v-model="value" clearable placeholder="请选择监测体">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              ></el-option>
            </el-select>
          </el-col>
        </el-row>

        <!-- 传感器类型 -->
        <el-row :gutter="10">
          <el-col :span="2">
            <span>传感器类型</span>
          </el-col>
          <el-col :span="6">
            <el-select v-model="value" clearable placeholder="请选择传感器类型">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              ></el-option>
            </el-select>
          </el-col>
        </el-row>

        <!-- 传感器 -->
        <el-row :gutter="10">
          <el-col :span="2">
            <span>传感器</span>
          </el-col>
          <el-col :span="6">
            <el-select v-model="value" clearable placeholder="请选择传感器">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value"
              ></el-option>
            </el-select>
          </el-col>
        </el-row>

        <el-row :gutter="10">
          <el-col><el-button size="mini">下载</el-button></el-col>
        </el-row>
      </div>
    </el-card>
  </div>
</template>

<script>
export default {
  name: "DataDownloadChild",
  data() {
    return {
      options: [
        {
          value: "选项1",
          label: "黄金糕",
        },
        {
          value: "选项2",
          label: "双皮奶",
        },
        {
          value: "选项3",
          label: "蚵仔煎",
        },
        {
          value: "选项4",
          label: "龙须面",
        },
        {
          value: "选项5",
          label: "北京烤鸭",
        },
      ],
      value: "",
    };
  },
};
</script>

<style scoped>
.el-card {
  height: 820px;
}
.DataDownload {
  margin: 70px 0 0 20px;
}

.DataDownload .el-col {
  margin-top: 15px;
}
.el-table::before {
  z-index: inherit;
}
</style>
